<%@include file="/WEB-INF/common/taglibs.jsp"%>

<script>
 var x  = '${optionJson}';
 var optionsObj = $.parseJSON(x);
 var y = '${productOptionJson}';
 var productOptions = $.parseJSON(y);
 
 $.extend(true,shop,{"options" :optionsObj, 
	 				"id" : ${entity.id},
	 				productOptions : productOptions
 					});
</script>


<div class="tab-pane fade " id="option">
	<div>
		<div style="margin-bottom: 20px;">
			<div class="tabbable tabs-left">
				<ul class="nav nav-tabs" id="autoselectUl">
  					<li>
	 					<div class="combobox-span-input-width">
							<select class="nostyle autoselect optionSelector">
								<option value="">Select one...</option>
 	<c:forEach var="option" items="${options}">
 		<option value="${option.id}">${option.name}</option>
 	
 	</c:forEach>
							</select>
							<div class="margin-left-80">
								<a> <span  
									class="icomoon-icon-plus-circle-2 "></span>
								</a>
							</div>
						</div>

					</li>
				</ul>
				<div id="opTabCon" class="tab-content">
					 
				</div>
			</div>
		</div>
	</div>
</div>
<!-- options -->